﻿<Window x:Class="Scarecrow_Network_Manager.frmErrorReporter"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:properties="clr-namespace:Scarecrow_Network_Manager.Properties"
        Title="{x:Static properties:Resources.ErrorForm}" Height="300" Width="480" Background="Black" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded" WindowStyle="ToolWindow" ResizeMode="NoResize" ShowInTaskbar="False" Closed="Window_Closed">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="96"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="96"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="25"/>
            <RowDefinition Height="25"/>
            <RowDefinition Height="25"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="40"/>
        </Grid.RowDefinitions>
        <Label Foreground="SteelBlue" Content="{x:Static properties:Resources.ErrorCode}"/>
        <TextBox Name="txtErrorName" Grid.Column="1" IsReadOnly="True" />
        <Label Content="{x:Static properties:Resources.ErrorString}" HorizontalAlignment="Center" Grid.Row="1" Grid.ColumnSpan="3" Foreground="SteelBlue"/>
        <Label Foreground="SteelBlue" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" >
            <Hyperlink Foreground="LightBlue" NavigateUri="http://scnetworkmanager.codeplex.com/discussions" RequestNavigate="Hyperlink_RequestNavigate">
                <TextBlock Text="Codeplex"/>
            </Hyperlink>
        </Label>
        <Label Foreground="SteelBlue" Content="{x:Static properties:Resources.Error}" Grid.Row="3"/>
        <TextBox Name="txtError" Grid.Row="3" Grid.Column="1" IsReadOnly="True" VerticalScrollBarVisibility="Auto" TextWrapping="WrapWithOverflow" />
        <Button Name="cmdClose" Content="{x:Static properties:Resources.Close}" Style="{DynamicResource TaskButton}" Grid.Row="4" Grid.Column="3" Click="cmdClose_Click" />
    </Grid>
</Window>
